abstract class Salle
{
	protected int num;
	protected int capa;
	protected String tab;

	public Salle()
	{
		this(0, 0, "rien");
	}

	public Salle(int n, int c, String t)
	{
		num = n;
		capa = c;
		tab = t;
	}

	public String toString()
	{
		return "Salle #"+num+" de "+capa+" (tableau "+tab+")";
	}

	public String getName()
	{
		return getClass().getName();
	}


	public int getNumber() {return num;}
	public void setNumber(int x) {num = x;}

	public int getCapacity() {return capa;}
	public void setCapacity(int x) {capa = x;}

	public String getBoardType() {return tab;}
	public void setBoardType(String x) {tab = x;}
}
